﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightingReflectionApp
{
    public class Room
    {
        public double Length { get; set; }
        public double Width { get; set; }
        public double Height { get; set; }
        public double SquareSide { get; set; }
        public double FloorReflectionCoefficient { get; set; }
        public double CeilingReflectionCoefficient { get; set; }
        public List<ReflectiveObject> ReflectiveObjects { get; set; }

        public Room(double length, double width, double height, double squareSide = 0.1, double floorReflectionCoefficient = 0, double ceilingReflectionCoefficient = 0.9)
        {
            Length = length;
            Width = width;
            Height = height;
            SquareSide = squareSide;
            FloorReflectionCoefficient = floorReflectionCoefficient;
            CeilingReflectionCoefficient = ceilingReflectionCoefficient;
            ReflectiveObjects = new List<ReflectiveObject>();
        }

        public void AddReflectiveObject(ReflectiveObject obj)
        {
            ReflectiveObjects.Add(obj);
        }
    }
}
